package com.cybersoft.jdbc.gavin.entity;

import java.sql.Date;

/**
 * Purpose: 學員的實體類
 * @author cybersoft
 * @since  JDK 1.5
 * @date   2013/4/8
 */
public class Student {	

	/**
	 * 學員姓名
	 */
	private String strStuName;
	/**
	 * 學員英文名
	 */
	private String strStuEnName;
	
	/**
	 * 學員性別
	 */
	private String strStuSex;
	/**
	 * 學員年齡
	 */
	private int intStuAge;
	/**
	 * 學員生日
	 */
	private Date dateStuBrithday; 
	/**
	 * 學員身高
	 */
	private double dStuHeight;

	/**
	 * 學員電話
	 */
	private String strStuTelephone;
	/**
	 * 學員電子郵件
	 */
	private String strStuEmail;
	
	/**
	 * Constructor:
	 */
	public  Student(){}
	
	public  Student(String strStuName,String strStuEnName,String strStuSex
			,int intStuAge ,Date dateStuBrithday,double fStuHeight
			,String strStuTelephone,String strStuEmall){
		
		this.setDateStuBrithday(dateStuBrithday);
		this.setDStuHeight(fStuHeight);
		this.setIntStuAge(intStuAge);
		this.setStrStuEmall(strStuEmall);
		this.setStrStuEnName(strStuEnName);
		this.setStrStuName(strStuName);
		this.setStrStuSex(strStuSex);
		this.setStrStuTelephone(strStuTelephone);
		
	}
	
	
 	
	/**
	 * (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "姓名:"+getStrStuName()+"--英文名:"+getStrStuEnName()+"--性別:"+getStrStuSex()+"--年齡:"+getIntStuAge()+"--電話:"+getStrStuTelephone()
				+"--生日:"+this.getDateStuBrithday().toString()+"--身高:"+getDStuHeight() +"--Email:"+getStrStuEmail();
	}
	
	
	
	 
	/**
	 * Purpose:問好
	 * @return void
	 */
	public String sayHello(){
		
		return "Hello，I'm qupei.";		
	}
	

	
	/**
	 * @return the strStuName
	 */
	public String getStrStuName() {
		return strStuName;
	}

	/**
	 * @param strStuName the strStuName to set
	 */
	public void setStrStuName(String strStuName) {
		this.strStuName = strStuName;
	}

	/**
	 * @return the strStuSex
	 */
	public String getStrStuSex() {
		return strStuSex;
	}

	/**
	 * @param strStuSex the strStuSex to set
	 */
	public void setStrStuSex(String strStuSex) {
		this.strStuSex = strStuSex;
	}

	/**
	 * @return the intStuAge
	 */
	public int getIntStuAge() {
		return intStuAge;
	}

	/**
	 * @param intStuAge the intStuAge to set
	 */
	public void setIntStuAge(int intStuAge) {
		this.intStuAge = intStuAge;
	}
 
	


	/**
	 * @return the dStuHeight
	 */
	public double getDStuHeight() {
		return dStuHeight;
	}

	/**
	 * @param stuHeight the dStuHeight to set
	 */
	public void setDStuHeight(double stuHeight) {
		dStuHeight = stuHeight;
	}

	/**
	 * @return the strStuTelephone
	 */
	public String getStrStuTelephone() {
		return strStuTelephone;
	}

	/**
	 * @param strStuTelephone the strStuTelephone to set
	 */
	public void setStrStuTelephone(String strStuTelephone) {
		this.strStuTelephone = strStuTelephone;
	}

	/**
	 * @return the strStuEmail
	 */
	public String getStrStuEmail() {
		return strStuEmail;
	}

	/**
	 * @param strStuEmail the strStuEmall to set
	 */
	public void setStrStuEmall(String strStuEmail) {
		this.strStuEmail = strStuEmail;
	}


	/**
	 * @return the strStuEnName
	 */
	public String getStrStuEnName() {
		return strStuEnName;
	}


	/**
	 * @param strStuEnName the strStuEnName to set
	 */
	public void setStrStuEnName(String strStuEnName) {
		this.strStuEnName = strStuEnName;
	}

	/**
	 * @return the dateStuBrithday
	 */
	public Date getDateStuBrithday() {
		return dateStuBrithday;
	}

	/**
	 * @param dateStuBrithday the dateStuBrithday to set
	 */
	public void setDateStuBrithday(Date dateStuBrithday) {
		this.dateStuBrithday = dateStuBrithday;
	}

	/**
	 * @param strStuEmail the strStuEmail to set
	 */
	public void setStrStuEmail(String strStuEmail) {
		this.strStuEmail = strStuEmail;
	}


 
	
	
	
	
}
